# -*- coding: utf-8 -*- 
#
# Description:
#
#  Definiton
#
#
#
# Changes:
#
# 2012-01-10
# Initial Commit
#
#
# Copyright 2010-2012, WyDev Team.
# Author: Polo35 (polo35580@hotmail.fr)
#
# Licenced under Academic Free License version 3.0
# Review WyGui README & LICENSE files for further details.

nname: 0
n 0(None)[self.post_key = post_key
self.plugin_name = 'DirectFB Input'
display = pygui_globs['display']
display.register_event(self.handle)
self.kbmap_get = DIRECTFB_MAP.get
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb7622cac>}
nname: 96
n 96(None)[]:
	i: 3(), 70(), 94(AE)
	o: 

nname: 94
n 94(None)[]:
	i: 60(f)
	o: 96(AE)

nname: 70
n 70(None)[log.debug('Key %s not recognised.' % key)
]:
	i: 60(t)
	o: 96()

nname: 60
n 60(<dummy_ex3> EXC_MATCH IndexError)[]:
	i: 0(except)
	o: 70(t), 94(f)

nname: 3
n 3(None)[mapped = self.kbmap_get(key.upper())
mapped.post(dict(count=1, timeout=ts + 0.40000000000000002))
]:
	i: 0(try)
	o: 96()

nname: 0
n 0(None)[]:
	i: 
	o: 3(try), 60(except)

nname: 60
n 60(None)[except IndexError:
	log.debug('Key %s not recognised.' % key)
]:
	i: 0()
	o: 

nname: 0
n 0(None)[try:
	mapped = self.kbmap_get(key.upper())
	mapped.post(dict(count=1, timeout=ts + 0.40000000000000002))
]:
	i: 
	o: 60()

nname: 0
n 0(None)[try:
	mapped = self.kbmap_get(key.upper())
	mapped.post(dict(count=1, timeout=ts + 0.40000000000000002))
except IndexError:
	log.debug('Key %s not recognised.' % key)
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb7622e0c>}
nname: 6
n 6(None)[def __init__(self, post_key):
	self.post_key = post_key
	self.plugin_name = 'DirectFB Input'
	display = pygui_globs['display']
	display.register_event(self.handle)
	self.kbmap_get = DIRECTFB_MAP.get

def handle(self, key, keypress, ts):
	try:
		mapped = self.kbmap_get(key.upper())
		mapped.post(dict(count=1, timeout=ts + 0.40000000000000002))
	except IndexError:
		log.debug('Key %s not recognised.' % key)

]:
	i: 
	o: 

self.nodes: {6: <unpyclib.structure.node instance at 0xb76224ac>}
nname: 0
n 0(None)[from __future__ import absolute_import
from peewee.debug import log
from pygui.input import DIRECTFB_MAP
from pygui.shared import pygui_globs
from peewee.notifier import sched
class PluginInterface(object):
	def __init__(self, post_key):
		self.post_key = post_key
		self.plugin_name = 'DirectFB Input'
		display = pygui_globs['display']
		display.register_event(self.handle)
		self.kbmap_get = DIRECTFB_MAP.get

	def handle(self, key, keypress, ts):
		try:
			mapped = self.kbmap_get(key.upper())
			mapped.post(dict(count=1, timeout=ts + 0.40000000000000002))
		except IndexError:
			log.debug('Key %s not recognised.' % key)



]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb761bdec>}
from __future__ import absolute_import
from peewee.debug import log
from pygui.input import DIRECTFB_MAP
from pygui.shared import pygui_globs
from peewee.notifier import sched
class PluginInterface(object):
	def __init__(self, post_key):
		self.post_key = post_key
		self.plugin_name = 'DirectFB Input'
		display = pygui_globs['display']
		display.register_event(self.handle)
		self.kbmap_get = DIRECTFB_MAP.get

	def handle(self, key, keypress, ts):
		try:
			mapped = self.kbmap_get(key.upper())
			mapped.post(dict(count=1, timeout=ts + 0.40000000000000002))
		except IndexError:
			log.debug('Key %s not recognised.' % key)



